package com.atXiao.food.chain;

/**
 * @author: lixiaoxiao
 * @date: 2024/1/12 11:48
 * @version: 1.0
 * @desc:
 */
public class LoginHandler extends Handler {

    @Override
    public void doHandler(User user) {
        user.setRole("admin");
        System.out.println("登陆成功~~~~~");
        nextHandler.doHandler(user);
    }
}
